﻿/*----------------------------------------------------------------
// Copyright (C) 2016 通通优品版权所有。
// 命名空间: STOWaybillMall.Waybills.Controllers
// 类名：UserWaybillsController
// 功能描述：N/A
// 
// 创建标识：Roc.Lee(李鹏鹏) 2017/8/8 17:51:14 TEC-ROCLEE Roc.Lee

// 修改标识：
// 修改描述：
// 
//
//----------------------------------------------------------------*/

using STOWaybillMall.Waybills.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using TongTongMall.MallWeb.WebApi.Controllers;

namespace STOWaybillMall.Waybills.Controllers
{
    /// <summary>
    /// 用户单号
    /// </summary>
    [RoutePrefix("api/users-waybills")]
    public class UserWaybillsController : MallWebApiControllerBase
    {
        /// <summary>
        /// 单号信息
        /// </summary>
        /// <returns></returns>
        [Route("waybillinfo")]
        public GetExpressWaybillInfoOutput GetExpressWaybillInfo([FromUri]GetExpressWaybillInfoInput input)
        {
            CheckModelState();
            return new GetExpressWaybillInfoOutput();
        }
        /// <summary>
        /// 单号种类列表
        /// </summary>
        /// <returns></returns>
        [Route("waybill-typelist")]
        public GetWaybillInfoTypeListOutput GetWaybillInfoTypeList()
        {
            CheckModelState();
            return new GetWaybillInfoTypeListOutput();
        }
        /// <summary>
        /// 获取用户的菜鸟单列表
        /// </summary>
        /// <returns></returns>
        [Route("waybill-cainiao-list")]
        public GetUserBatchExpressWaybillOutput GetUserBatchExpressWaybillList([FromUri]GetUserBatchExpressWaybillInput input)
        {
            CheckModelState();
            return new GetUserBatchExpressWaybillOutput();
        }
        /// <summary>
        /// 获取用户的普通快递单列表
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        [Route("waybill-general-list")]
        public GetUserGeneralExpressWaybillListOutput GetUserGeneralExpressWaybillList([FromUri]GetUserGeneralExpressWaybillListInput input)
        {
            CheckModelState();
            return new GetUserGeneralExpressWaybillListOutput();
        }
    }
}
